#include "device.h"
#include "nvs/value.h"
#include <nvs.h>
#include <nvs_flash.h>

void log_esp_info(){
    log_chip_info();
    log_flash_info();
    log_heap_info();
}

void log_reboot_info(nvs_handle_t nvs_handle)
{
    read_reboot_count(nvs_handle);
}

void log_wifi_info(nvs_handle_t nvs_handle)
{
    read_wifi_info(nvs_handle);
}

void log_nvs_info(nvs_handle_t nvs_handle)
{
    log_reboot_info(nvs_handle);
    log_wifi_info(nvs_handle);
}